<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>ajax+json</title>
    <link rel="stylesheet" href="./css/js5.css">
</head>

<body>
    <div class="container">
        <div class="contain">
        </div>
        <div class="dot-container">
            <div class="dot" data-index="0">1</div>
            <div class="dot" data-index="1">2</div>
            <div class="dot" data-index="2">3</div>
            <div class="dot" data-index="3">4</div>
            <div class="dot" data-index="4">5</div>
        </div>
        <div class="button">
            <div class="up">up</div>
            <div class="down">down</div>
        </div>
    </div>
    <!-- 只使用hide和show 原生js 进行点击切换 -->
    <script src="./scripts/jquery-3.3.1.min.js"></script>
    <script src="./scripts/js5.js"></script>
</body>

</html>